package com.huishu.order.execl;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @ClassName：OrderExecl
 * @Author: ljj
 * @Date: 2023/4/21 11:43
 */
@Getter
@Setter
@EqualsAndHashCode
public class OrderExecl {

    @ExcelProperty(value = "ORDERSN")
    private String orderSn;

    @ExcelProperty(value = "CREATEDATE")
    private String createDate;

    @ExcelProperty(value = "GOODS")
    private String goods;

    @ExcelProperty(value = "PAYAMOUNT")
    private BigDecimal payAmount;

    @ExcelProperty(value = "CUSTOMNAME")
    private String customName;

    @ExcelProperty(value = "CUSTOMPHONE")
    private String customPhone;

    @ExcelProperty(value = "TIERNAME")
    private String tierName;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "ADDRESS")
    private String receiverDetailAddress;

    @ExcelProperty(value = "STATUS", converter = StatusConverter.class)
    private Integer status;


    @ExcelProperty(value = "DELIVERY")
    private String delivery;

}
